home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.std.c
- Subject: Re: Close all opened files in C ?
- Date: 31 Mar 96 02:36:44 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.828239804@rscernix>
- References: <4jgifa$fjd@chaos.kulnet.kuleuven.ac.be> <828105458snz@wbriscoe.demon.co.uk> <4jhmg0$50n@solutions.solon.com>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <4jhmg0$50n@solutions.solon.com> seebs@solutions.solon.com (Peter Seebach) writes:
-
- >In article <828105458snz@wbriscoe.demon.co.uk>,
- >walter briscoe <walter@wbriscoe.demon.co.uk> wrote:
- >[re:]
- >>> NOW THIS IS MY QUESTION:
- >
- >>> How can I close all files that are opened ?
- >
- >>This thread is inappropriate in comp.std.c.
- >
- >>I suggest comp.lang.c.moderated may be appropriate.
- >
- >Probably not; I'd bounce it with "you can't in C, try a newsgroup
- >specific to your system."
-
- And you'd be dead wrong. exit() _will_ close all the files that are
- opened :-)
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-